/***************************************************************************
                          cardviewwidget.h  -  description
                             -------------------
    begin                : Thu May 8 2008
    copyright            : (C) 2008 by Samuel Harrington
    email                : robotsam@gmail.com
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef CARDVIEWWIDGET_H
#define CARDVIEWWIDGET_H

#include "ui_card_view_widget.h"

#include "sqlite3.h"

class CardViewWidget : public QWidget, public Ui::card_view_widget  {
   Q_OBJECT
public: 
	CardViewWidget(QWidget *parent=0, const char *name=0);
	~CardViewWidget();

public:
  sqlite3 * sql;
  int card_t_n;

public slots: // Public slots
  virtual void load(int n, sqlite3 * s);
  virtual void load_printing(const QString & s);
  virtual void save();
  virtual void refresh();
  virtual void download_image();

protected slots:
  virtual void languageChange();
};


#endif
